package com.powernode.service;

import com.powernode.domain.IndexImg;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IndexImgService extends IService<IndexImg> {

    //新增轮播图
    Boolean saveIndexImg(IndexImg indexImg);

    //根据标识查询轮播图
    IndexImg queryImgInfoById(Long imgId);

    //修改轮播图
    Boolean modifyIndexImg(IndexImg indexImg);

    //删除轮播图
    Boolean removeIndexImgByIds(List<Long> imgIds);

    //查询小程序轮播图
    List<IndexImg> queryWxIndexImgList();

}
